package com.twetec.cms.common.constant;

/**
 * @Author: zhaichangzheng
 * @Date: 2022/2/8 19:35 （日期和时间）
 */
public enum CmsColumnArticlePermissionEnum {

    CREATE("文章-新增文章", "article:create"),
    ARTICLE_PAGE("文章-文章列表", "article:page-search-list"),
    GET_ARTICLE_STATUS_COUNT("文章-获取文章状态统计", "article:get-article-status-count"),
    UPDATE_BY_ID("文章-编辑文章", "article:update-by-id"),
    RELEASE_BY_ID("文章-发布文章", "article:release-by-id"),
    RELEASE_BY_IDS("文章-批量发布文章", "article:release-by-ids"),
    ARTICLE_COPY_BY_ID("文章-复制文章", "article:article-copy-by-id"),
    ARTICLE_COPY_BY_IDS("文章-批量复制文章", "article:article-copy-by-ids"),
    MOVE_BY_ID("文章-移动文章", "article:move-by-id"),
    MOVE_BY_IDS("文章-批量移动文章", "article:move-by-ids"),
    GET_PC_TEMPLATE_RENDER_CONTENT("文章-PC端文章预览", "article:get-pc-template-render-content"),
    GET_H5_TEMPLATE_RENDER_CONTENT("文章-h5端文章预览", "article:get-h5-template-render-content"),
    REMOVE_BY_ID("文章-回收文章", "article:remove-by-id"),
    REMOVE_BY_IDS("文章-批量回收文章", "article:remove-by-ids"),
    VERIFY_BY_ID("文章-审核文章", "article:verify-by-id"),
    VERIFY_BY_IDS("文章-批量审核文章", "article:verify-by-ids"),
    GET_VERIFY_REASON_BY_ID("文章-查看文章驳回原因", "article:get-verify-reason-by-id"),
    ARTICLE_DETAIL("文章-详情", "article:get-by-id"),
    OFF_SHELF_BY_ID("文章-下架文章", "article:off-shelf-by-id"),
    OFF_SHELF_BY_IDS("文章-批量下架文章", "article:off-shelf-by-ids"),
    RECOVERY_BY_ID("文章-恢复文章", "article:recovery-by-id"),
    RECOVERY_BY_IDS("文章-批量恢复文章", "article:recovery-by-ids");

    private String value;

    private String name;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    CmsColumnArticlePermissionEnum(String name, String value) {
        this.value = value;
        this.name = name;
    }
}
